package com.sqx.modules.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("goods_classify")
public class GoodsClassify implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)

    @ApiModelProperty("classify_id")
    private Integer classifyId;


    @ApiModelProperty("商品类型名称")
    private String classifyName;

    @ApiModelProperty("商户id")
    private Long shopId;

    @ApiModelProperty("商户名")
    @TableField(exist = false)
    private String shopName;

    public GoodsClassify() {}
}